﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using X.PagedList;
using XbsWebAPI.Application.QueryModel;
using XbsWebAPI.EntityFrameworkCore.Entities;

namespace XbsWebAPI.Application
{
    /// <summary>
    /// 营位应用服务
    /// </summary>
    public interface ICampAppService
    {
        public Task<ResultDto<string>> CreateCampAsync(CreateCampDto model);

        public ResultDto<GetCampDto> GetCampById(Guid id);

        public Task<ResultDto<string>> RemoveCampAsync(Guid id);

        public ResultDto<PageListDto<ListCampDto>> GetPagedList(QueryCamp query);

        public ResultDto<List<SelectCampDto>> GetSelectCamps();

        public Task<ResultDto<string>> EditCampAsync(EditCampDto model);
    }
}
